import { NgModule } from '@angular/core';
import { CommonModule } from '@angular/common';
import {FormsModule, ReactiveFormsModule}   from '@angular/forms';
import { DepartmentsRoutingModule } from './departments-routing.module';

import { DepartmentsComponent } from './departments.component';
import { DepartmentAddComponent } from './department-add/department-add.component';
import { DepartmentUpdateComponent } from './department-update/department-update.component';
import {DepartmentsService} from "./departments.service";
import {OneOperationModule} from "../../../widgets/one-operation/one-operation.module";

@NgModule({
  imports: [
    CommonModule,
    FormsModule,
    DepartmentsRoutingModule,
    ReactiveFormsModule,
    OneOperationModule,
    ReactiveFormsModule
  ],
  declarations: [
    DepartmentsComponent,
    DepartmentAddComponent,
    DepartmentUpdateComponent
  ],
  providers : [
    DepartmentsService
  ]
})
export class DepartmentsModule { }
